<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en">
<!--<![endif]-->
<head lang="en">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv= "Expires" CONTENT="0">
    <meta http-equiv= "Cache-Control" CONTENT="no-cache">
    <meta http-equiv= "Pragma" CONTENT="no-cache">
    <meta name= "viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <meta name= "apple-mobile-web-app-capable" content="yes">
    <meta name= "apple-mobile-web-app-status-bar-style" content="black">
    <meta name= "format-detection" content="telephone=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>如释瑜伽</title>
    <!-- Bootstrap -->
    <link href="__TMPL__Public/css/bootstrap.min.css" rel="stylesheet">
    <!--作者：cubefan时间：2016-09-01描述：主样式表-->
    <link href="__TMPL__Public/css/style.css" rel="stylesheet">
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="__TMPL__Public/js/jquery-1.11.3.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="__TMPL__Public/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="__TMPL__Public/js/layout.js"></script>
    <!--作者：cubefan时间：2016-09-01描述：主js-->
    <script type="text/javascript" src="__TMPL__Public/js/fanerge.js"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script type="text/javascript" src="__TMPL__Public/js/html5shiv.min.js"></script>
    <script type="text/javascript" src="__TMPL__Public/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div id="header" class="row mg0">
    <span class="col-lg-12 col-md-12 col-sm-12 col-xs-12 course-head"><a href="javascript:history.back();"><img src='__TMPL__Public/images/return.png' width='12' height='22'/></a> &nbsp;&nbsp;{$sitename}馆会员约课</span>
</div>
<div id='main' class='mt44 mb49'>
	<ul id="week-num" class="weekly nav nav-tabs row mg0 ">
		<li>
			<a href="index.php?m=Choose&a=weekly_course">
				本周
			</a>
		</li>
		<li class="active">
			<a href="#week-1" data-toggle="tab">
				{$week[0]}
				<br/>
				{$day[0]}
			</a>
		</li>
		<li class=''>
			<a href="#week-2" data-toggle="tab">
				{$week[1]}
				<br/>
				{$day[1]}
			</a>
		</li>
		<li class=''>
			<a href="#week-3" data-toggle="tab">
				{$week[2]}
				<br/>
				{$day[2]}
			</a>
		</li>
		<li class=''>
			<a href="#week-4" data-toggle="tab">
				{$week[3]}
				<br/>
				{$day[3]}
			</a>
		</li>
		<li class=''>
			<a class='#week-5' href="#week-5" data-toggle="tab">
				{$week[4]}
				<br/>
				{$day[4]}
			</a>
		</li>
		<li class=''>
			<a class='#week-6' href="#week-6" data-toggle="tab">
				{$week[5]}
				<br/>
				{$day[5]}
			</a>
		</li>
		<li class=''>
			<a class='#week-7' href="#week-7" data-toggle="tab">
				{$week[6]}
				<br/>
				{$day[6]}
			</a>
		</li>
	</ul>
	<div id="myself-content" class="tab-content">
		<!--周一课表 -->
		<div class="tab-pane fade in active" id="week-1">
			<ul>
			<volist name='msg[0]' id='show'>
				<li class='week-course row mg0'>
					<div class='week-time col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						{$show.stime}
					</div>
					<div class='week-subject col-lg-10 col-md-10 col-sm-8 col-xs-6'>
						<h3>{$show.lesson}({$show.lessontype})</h3>
						<p class='coach-name'>教练：{$show.coachname}</p>
						<div class='coach-person'>还可预约<strong>{$show.left}</strong>人&nbsp;&nbsp;&nbsp;<form style="display:inline" method='post' action='index.php?m=Choose&a=lessonsession'><input style="display:none" name='lid' value="{$show.lid}"><input style="display:none" name='coachid' value="{$show.coachid}"><input style="display:none" name='coachname' value="{$show.coachname}"><input style="border:0;background:#FFF;color:rgb(49,177,236);font-size:12px;" type='submit' value='课程详情'/></form></div>
					</div>
					<div class='coach-order col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						<!-- 模态框（Modal）2小时取消约课 -->
						<a class="order-btn" href={$show.href} onclick="javascript:document.getElementsByName('nomemlid')[0].value={$show.lid};" style="display:{$show['button'][0]}!important"      data-toggle="modal" data-target={$show.target}>预 约</a>
						<a class="order-btn-1" href='index.php?m=Choose&a=precancel&lid={$show.lid}' style="display:{$show['button'][1]}!important">取消预约</a>
						<a class="order-btn-2" style="display:{$show['button'][2]}!important">排队中</a>
					</div>
				</li>
			</volist>	
			</ul>
		</div>
		<!--周二课表 -->
		<div class="tab-pane fade" id="week-2">
			<ul>
			<volist name='msg[1]' id='show'>
				<li class='week-course row mg0'>
					<div class='week-time col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						{$show.stime}
					</div>
					<div class='week-subject col-lg-10 col-md-10 col-sm-8 col-xs-6'>
						<h3>{$show.lesson}({$show.lessontype})</h3>
						<p class='coach-name'>教练：{$show.coachname}</p>
						<div class='coach-person'>还可预约<strong>{$show.left}</strong>人&nbsp;&nbsp;&nbsp;<form style="display:inline" method='post' action='index.php?m=Choose&a=lessonsession'><input style="display:none" name='lid' value="{$show.lid}"><input style="display:none" name='coachid' value="{$show.coachid}"><input style="display:none" name='coachname' value="{$show.coachname}"><input style="border:0;background:#FFF;color:rgb(49,177,236);font-size:12px;" type='submit' value='课程详情'/></form></div>
					</div>
					<div class='coach-order col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						<!-- 模态框（Modal）2小时取消约课 -->
						<a class="order-btn" href={$show.href} onclick="javascript:document.getElementsByName('nomemlid')[0].value={$show.lid};" style="display:{$show['button'][0]}!important"      data-toggle="modal" data-target={$show.target}>预 约</a>
						<a class="order-btn-1" href='index.php?m=Choose&a=precancel&lid={$show.lid}' style="display:{$show['button'][1]}!important">取消预约</a>
						<a class="order-btn-2" style="display:{$show['button'][2]}!important">排队中</a>
					</div>
				</li>				
			</volist>	
			</ul>
		</div>
		<!--周三课表 -->
		<div class="tab-pane fade" id="week-3">
			<ul>
			<volist name='msg[2]' id='show'>
				<li class='week-course row mg0'>
					<div class='week-time col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						{$show.stime}
					</div>
					<div class='week-subject col-lg-10 col-md-10 col-sm-8 col-xs-6'>
						<h3>{$show.lesson}({$show.lessontype})</h3>
						<p class='coach-name'>教练：{$show.coachname}</p>
						<div class='coach-person'>还可预约<strong>{$show.left}</strong>人&nbsp;&nbsp;&nbsp;<form style="display:inline" method='post' action='index.php?m=Choose&a=lessonsession'><input style="display:none" name='lid' value="{$show.lid}"><input style="display:none" name='coachid' value="{$show.coachid}"><input style="display:none" name='coachname' value="{$show.coachname}"><input style="border:0;background:#FFF;color:rgb(49,177,236);font-size:12px;" type='submit' value='课程详情'/></form></div>
					</div>
					<div class='coach-order col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						<!-- 模态框（Modal）2小时取消约课 -->
						<a class="order-btn" href={$show.href} onclick="javascript:document.getElementsByName('nomemlid')[0].value={$show.lid};" style="display:{$show['button'][0]}!important"      data-toggle="modal" data-target={$show.target}>预 约</a>
						<a class="order-btn-1" href='index.php?m=Choose&a=precancel&lid={$show.lid}' style="display:{$show['button'][1]}!important">取消预约</a>
						<a class="order-btn-2" style="display:{$show['button'][2]}!important">排队中</a>
					</div>
				</li>
			</volist>
			</ul>
		</div>
		<!--周四课表 -->
		<div class="tab-pane fade" id="week-4">
			<ul>
			<volist name='msg[3]' id='show'>
				<li class='week-course row mg0'>
					<div class='week-time col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						{$show.stime}
					</div>
					<div class='week-subject col-lg-10 col-md-10 col-sm-8 col-xs-6'>
						<h3>{$show.lesson}({$show.lessontype})</h3>
						<p class='coach-name'>教练：{$show.coachname}</p>
						<div class='coach-person'>还可预约<strong>{$show.left}</strong>人&nbsp;&nbsp;&nbsp;<form style="display:inline" method='post' action='index.php?m=Choose&a=lessonsession'><input style="display:none" name='lid' value="{$show.lid}"><input style="display:none" name='coachid' value="{$show.coachid}"><input style="display:none" name='coachname' value="{$show.coachname}"><input style="border:0;background:#FFF;color:rgb(49,177,236);font-size:12px;" type='submit' value='课程详情'/></form></div>
					</div>
					<div class='coach-order col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						<!-- 模态框（Modal）2小时取消约课 -->
						<a class="order-btn" href={$show.href} onclick="javascript:document.getElementsByName('nomemlid')[0].value={$show.lid};" style="display:{$show['button'][0]}!important"      data-toggle="modal" data-target={$show.target}>预 约</a>
						<a class="order-btn-1" href='index.php?m=Choose&a=precancel&lid={$show.lid}' style="display:{$show['button'][1]}!important">取消预约</a>
						<a class="order-btn-2" style="display:{$show['button'][2]}!important">排队中</a>
					</div>
				</li>
			</volist>
			</ul>
		</div>
		<!--周五课表 -->
		<div class="tab-pane fade" id="week-5">
			<ul>
			<volist name='msg[4]' id='show'>
				<li class='week-course row mg0'>
					<div class='week-time col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						{$show.stime}
					</div>
					<div class='week-subject col-lg-10 col-md-10 col-sm-8 col-xs-6'>
						<h3>{$show.lesson}({$show.lessontype})</h3>
						<p class='coach-name'>教练：{$show.coachname}</p>
						<div class='coach-person'>还可预约<strong>{$show.left}</strong>人&nbsp;&nbsp;&nbsp;<form style="display:inline" method='post' action='index.php?m=Choose&a=lessonsession'><input style="display:none" name='lid' value="{$show.lid}"><input style="display:none" name='coachid' value="{$show.coachid}"><input style="display:none" name='coachname' value="{$show.coachname}"><input style="border:0;background:#FFF;color:rgb(49,177,236);font-size:12px;" type='submit' value='课程详情'/></form></div>
					</div>
					<div class='coach-order col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						<!-- 模态框（Modal）2小时取消约课 -->
						<a class="order-btn" href={$show.href} onclick="javascript:document.getElementsByName('nomemlid')[0].value={$show.lid};" style="display:{$show['button'][0]}!important"      data-toggle="modal" data-target={$show.target}>预 约</a>
						<a class="order-btn-1" href='index.php?m=Choose&a=precancel&lid={$show.lid}' style="display:{$show['button'][1]}!important">取消预约</a>
						<a class="order-btn-2" style="display:{$show['button'][2]}!important">排队中</a>
					</div>
				</li>			
			</volist>
			</ul>
		</div>
		<!--周六课表 -->
		<div class="tab-pane fade" id="week-6">
			<ul>
			<volist name='msg[5]' id='show'>
				<li class='week-course row mg0'>
					<div class='week-time col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						{$show.stime}
					</div>
					<div class='week-subject col-lg-10 col-md-10 col-sm-8 col-xs-6'>
						<h3>{$show.lesson}({$show.lessontype})</h3>
						<p class='coach-name'>教练：{$show.coachname}</p>
						<div class='coach-person'>还可预约<strong>{$show.left}</strong>人&nbsp;&nbsp;&nbsp;<form style="display:inline" method='post' action='index.php?m=Choose&a=lessonsession'><input style="display:none" name='lid' value="{$show.lid}"><input style="display:none" name='coachid' value="{$show.coachid}"><input style="display:none" name='coachname' value="{$show.coachname}"><input style="border:0;background:#FFF;color:rgb(49,177,236);font-size:12px;" type='submit' value='课程详情'/></form></div>
					</div>
					<div class='coach-order col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						<!-- 模态框（Modal）2小时取消约课 -->
						<a class="order-btn" href={$show.href} onclick="javascript:document.getElementsByName('nomemlid')[0].value={$show.lid};" style="display:{$show['button'][0]}!important"      data-toggle="modal" data-target={$show.target}>预 约</a>
						<a class="order-btn-1" href='index.php?m=Choose&a=precancel&lid={$show.lid}' style="display:{$show['button'][1]}!important">取消预约</a>
						<a class="order-btn-2" style="display:{$show['button'][2]}!important">排队中</a>
					</div>
				</li>				
			</volist>
			</ul>
		</div>
		<!--周日课表 -->
		<div class="tab-pane fade" id="week-7">
			<ul>
			<volist name='msg[6]' id='show'>
				<li class='week-course row mg0'>
					<div class='week-time col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						{$show.stime}
					</div>
					<div class='week-subject col-lg-10 col-md-10 col-sm-8 col-xs-6'>
						<h3>{$show.lesson}({$show.lessontype})</h3>
						<p class='coach-name'>教练：{$show.coachname}</p>
						<div class='coach-person'>还可预约<strong>{$show.left}</strong>人&nbsp;&nbsp;&nbsp;<form style="display:inline" method='post' action='index.php?m=Choose&a=lessonsession'><input style="display:none" name='lid' value="{$show.lid}"><input style="display:none" name='coachid' value="{$show.coachid}"><input style="display:none" name='coachname' value="{$show.coachname}"><input style="border:0;background:#FFF;color:rgb(49,177,236);font-size:12px;" type='submit' value='课程详情'/></form></div>
					</div>
					<div class='coach-order col-lg-1 col-md-1 col-sm-2 col-xs-3'>
						<!-- 模态框（Modal）2小时取消约课 -->
						<a class="order-btn" href={$show.href} onclick="javascript:document.getElementsByName('nomemlid')[0].value={$show.lid};" style="display:{$show['button'][0]}!important"      data-toggle="modal" data-target={$show.target}>预 约</a>
						<a class="order-btn-1" href='index.php?m=Choose&a=precancel&lid={$show.lid}' style="display:{$show['button'][1]}!important">取消预约</a>
						<a class="order-btn-2" style="display:{$show['button'][2]}!important">排队中</a>
					</div>
				</li>				
			</volist>
			</ul>
		</div>
		<!--周几课表结束-->
	</div>
</div>
<!-- 非会员注册 -->
<!-- 模态框（Modal）2小时取消约课 -->
<div class="modal fade" id="alert-cancel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content" id='alert-cancel-main'>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<div class='alert-cancel-pic'><img src="__TMPL__Public/images/cancel.png" width='40'></div>
				<p class='alert-cancel-info'>开课前2小时内不可取消预约</p>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 模态框（Modal）必须评分 -->
<div class="modal fade" id="alert-judge" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content" id='alert-cancel-main'>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<div class='alert-cancel-pic'><img src="__TMPL__Public/images/cancel.png" width='40'></div>
				<p class='alert-cancel-info'>请对上一门课程进行评价</p>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 模态框（Modal）预约 -->
<div class="modal fade" id="alert-order" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content" id='alert-cancel-main'>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<div class='alert-order-pic'><img src="__TMPL__Public/images/success.png" width='40'></div>
				<p class='member-type'>如初卡会员</p>
				<p class='alert-order-info'>周三 18:00-如释空中瑜伽课程</p>
				<h3 class='alert-order-success'>预约成功</h3>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 模态框（Modal）购买 -->
<div class="modal fade" id="alert-sell" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content" id='alert-cancel-main'>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<div class='alert-order-pic'><img src="__TMPL__Public/images/cancel.png" width='40'></div>
				<p class='member-type'>如初卡会员</p>
				<p class='alert-order-info'>没有权限预约本课程</p>
				<a class='alert-sell-btn' href='javascript:void(0);'>立即购买</a>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!-- 模态框（Modal）非会员填写信息 -->
<!--<div class="modal fade" id="alert-new-order" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content" id='alert-new-main'>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<p class='reg-info'>非会员申请填写</p>
				<form action="index.php?m=Choose&a=noMemReg" id='no-mem-form' method="post">
					<p class='reg-user'><input id='user-pic' type='text' name='nomemname' placeholder="请填写您的真实姓名"  ></p>
					<p class='reg-tel'><input id='tel-pic' type='tel' name='nomemtel' placeholder="请填写您的联系方式" ></p>
					<input style="display:none" name='nomemlid' />
					<button id='no-member' type='submit' class='reg-btn' >提 交</button>
				</form>
		</div>
	</div>
</div>-->
<div class="modal fade" id="alert-new-order" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content" id='alert-new-main'>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<p class='reg-info' >非会员请致电所在场馆！</p>
				
		</div>
	</div>
</div>
<!-- 模态框（Modal）非如释会员购买 -->
<div class="modal fade" id="alert-sell-1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content" id='alert-cancel-main'>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<div class='alert-order-pic'><img src="__TMPL__Public/images/cancel.png" width='40'></div>
				<p class='member-type'>非如释会员</p>
				<p class='alert-order-info'>没有权限预约本课程</p>
				<a class='alert-sell-btn' href='javascript:void(0);'>立即购买</a>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<div id="footer">
    <a href="index.php?m=Choose&a=index">
        <img class='footer-1' src='__TMPL__Public/images/bottom/1-1.png' width="27" height="37"/>
    </a>
    <a href="index.php?m=Choose&a=order">
        <img class='footer-2' src='__TMPL__Public/images/bottom/2.png' width="27" height="37"/>
    </a>
    <a  href="index.php?m=Choose&a=store">
        <img class='footer-3' src='__TMPL__Public/images/bottom/3-1.png' width="27" height="37"/>
    </a>
    <a  href="index.php?m=Choose&a=user">
        <img class='footer-4' src='__TMPL__Public/images/bottom/4-1.png' width="27" height="37"/>
    </a>
    <a  href="index.php?m=Choose&a=video">
        <img class='footer-5' src='__TMPL__Public/images/bottom/5-1.png' width="27" height="37"/>
    </a>
    <div class='clearfix'></div>
</div>
</body>
</html>